module.exports = {
    pluginOptions: {
        electronBuilder: {
            builderOptions: {
                // options placed here will be merged with default configuration and passed to electron-builder
                productName: '云印小栈',
                appId: 'com.electron.print',
                copyright:  'Copyright © 2020 云印小栈',
                publish:  [
                    {
                        "provider": "generic",
                        "url": "http://cloudprinttp.hcloudprint.cn/",
                    }
                ],
                win: {
                    icon: 'public/favicon.ico', // 图标路径
                    requestedExecutionLevel: 'highestAvailable',
                    target: [ 'nsis']
                },
                nsis: {
                    'oneClick': false, // 一键安装
                    'allowToChangeInstallationDirectory': true, // 允许用户选择安装位置
                    'perMachine': false
                }
            }
        },
        outputDir: 'electron-builder-output-dir',
        mainProcessFile: 'src/background.js',
    }
};
